﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using Common;

public partial class Customer_Notice_View : System.Web.UI.Page
{
    protected int NoticeKey;
    protected Dat_Notice notice;

    protected string MenuType
    {
        get { return string.IsNullOrEmpty(Request["menutype"]) ? "" : Request["menutype"].ToString(); }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
       NoticeKey = string.IsNullOrEmpty(Request["NoticeKey"]) ? 0 : Convert.ToInt32(Request["NoticeKey"]);
       
        //设置已读状态
       new Notice().SetRead(NoticeKey);
       
       if (!this.IsPostBack)
       {
           notice = new Notice().SelectNotice(NoticeKey);
       }
    }
}
